package com.furentech.iotserver.fa.server;

import io.netty.util.AttributeKey;

public interface ChannelAttributes {
    //frame number
    AttributeKey<Byte> FRAME_NUMBER= AttributeKey.newInstance("frameNumber");
    AttributeKey<Byte> DEV_SOURCE_ADDR = AttributeKey.newInstance("devSourceAddr");

    AttributeKey<Boolean> REQ_V_TOT_FLAG=AttributeKey.newInstance("ReqVTotFlag");
    AttributeKey<Boolean> REQ_DISPENSER_INFO_FLAG = AttributeKey.newInstance("ReqDispenserInfoFlag");
    AttributeKey<Boolean> CB_RECORD_FLAG = AttributeKey.newInstance("CbRecordFlag");


    AttributeKey<Boolean> AUTH_REQ2_FLAG = AttributeKey.newInstance("authReq2Flag");
    AttributeKey<Byte[]> AUTH_REQ2_RESPONSE_BUF = AttributeKey.newInstance("authReq2RespBuf");



    AttributeKey<Boolean> REQ_SIGN_IN_FLAG = AttributeKey.newInstance("reqSignInFlag");
    AttributeKey<Byte[]> REQ_SIGN_IN_RESP_BUF = AttributeKey.newInstance("reqSignInRespBuf");



    AttributeKey<Boolean> REQ_ONLINE_FLAG = AttributeKey.newInstance("reqOnlineFlag");
    AttributeKey<Byte[]> REQ_ONLINE_RESP_BUF = AttributeKey.newInstance("reqOnlineRespBuf");

    AttributeKey<Boolean> REQ_DEBIT_FLAG = AttributeKey.newInstance("reqDebitFlag");
    AttributeKey<Byte[]> REQ_DEBIT_RESP_BUF = AttributeKey.newInstance("reqDebitRespBuf");


    AttributeKey<Boolean> REQ_REVERSE_FLAG = AttributeKey.newInstance("reqReverseFlag");
    AttributeKey<Byte[]> REQ_REVERSE_RESP_BUF = AttributeKey.newInstance("reqReverseRespBuf");

}